package com.net.xpay.web.dto;

import com.net.xpay.common.enums.open.AuthStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 2020/9/18 13:41

 */
@Getter
@Setter
@NoArgsConstructor
public class OpenAlipayAuthTokenDto {

    @ApiModelProperty(notes = "外部业务号")
    private String outBizId;

    @ApiModelProperty(notes = "备注 最多16个字")
    private String remark;

    @ApiModelProperty(notes = "签约状态")
    private AuthStatus status;

    @ApiModelProperty(notes = "支付宝官方账号用户id 不是本系统的")
    private String alipayUserId;

    @ApiModelProperty(notes = "支付宝账号")
    private String alipayNickName;

    @ApiModelProperty(notes = "authToken")
    private String authToken;

    @ApiModelProperty(notes = "refreshToken")
    private String refreshToken;

    @ApiModelProperty(notes = "令牌过期时间")
    private LocalDateTime expiresIn;

    @ApiModelProperty(notes = "刷新令牌过期时间")
    private LocalDateTime reExpiresIn;
}
